package com.tongzhan.annotation;

import org.springframework.data.annotation.Persistent;

import java.lang.annotation.*;

/**
 * @author htmic
 * @date 2020/10/27
 */
@Persistent
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE , ElementType.FIELD, })
public @interface ColumnDoc {

    /**
     * 字段描述
     * @return
     */
    String value() default "";
}
